package com.sxit.tdf.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * 行为表
 *
 * @author 橙子高🍊
 * @since 2022-02-05
 */
@TableName("tb_action")
@Schema(name = "Action对象", description = "行为表")
public class Action implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @Schema(description = "行为编号")
  private String actionCode;

  @Schema(description = "行为名称")
  private String actionName;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getActionCode() {
    return actionCode;
  }

  public void setActionCode(String actionCode) {
    this.actionCode = actionCode;
  }

  public String getActionName() {
    return actionName;
  }

  public void setActionName(String actionName) {
    this.actionName = actionName;
  }

  @Override
  public String toString() {
    return "Action{"
        + "id="
        + id
        + ", actionCode="
        + actionCode
        + ", actionName="
        + actionName
        + "}";
  }
}
